<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />

  <link type="text/css" href="http://localhost/soviet/public/css/plantilla.css" rel="stylesheet" />

  <link type="text/css" href="http://localhost/soviet/public/CSS/clases.css" rel="stylesheet" />

  <link href="http://localhost/soviet/public/sdmenu/sdmenu.css" type="text/css" rel="stylesheet" />
<link rel="STYLESHEET" type="text/css" href="http://localhost/soviet/public/ajax/dhtmlxGrid/css/dhtmlXGrid.css">
    <script>_css_prefix="http://localhost/soviet/public/ajax/dhtmlxGrid/css/";_js_prefix="http://localhost/soviet/public/ajax/dhtmlxGrid/js/"; </script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXCommon.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGridCell.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_start.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_calck.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_acheck.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_calendar.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_clist.js"></script>
        <script  src="http://localhost/soviet/public/sdmenu/sdmenu.js" type="text/javascript"></script>

  <script src="http://localhost/soviet/public/ajax/dojo/dojo.js" type="text/javascript"></script>
  <script language="JavaScript" type="text/javascript"   src="http://localhost/soviet/public/javascript/utilidades.js"></script>
<script type="text/javascript">
	dojo.require("dojo.widget.TabContainer");
	dojo.require("dojo.widget.ContentPane");
	dojo.require("dojo.widget.ContentPane");
	dojo.require("dojo.widget.Button");
	dojo.require("dojo.widget.SortableTable");
</script>
<script languaje="javascript">
	var myMenu;
	window.onload = function() {
		myMenu = new SDMenu("my_menu");
		myMenu.init();
	};
  </script>
  <title>Documento sin t&iacute;tulo</title>


  <style type="text/css">
<!--
.Estilo1 {font-weight: bold}
.Estilo10 {font-size: 12px}
-->
  </style>
  </head>



<body>
<div id="lienzo">
	<table align="center" border="0" width="964">
  	<tbody>
    	<tr>
      		<td colspan="3"><img src="http://localhost/soviet/public/Imagenes/encabezado_1.gif" width="971" /></td>
    	</tr>
    	<tr>
      		<td width="172"><img src="http://localhost/soviet/public/Imagenes/logo.gif" align="left" height="100" width="170" /></td>
      		<td width="608"><img src="http://localhost/soviet/public/Imagenes/Banner.jpg" height="102" width="616" /></td>
      		<td width="172"><img src="http://localhost/soviet/public/Imagenes/logo.gif" align="right" height="100" width="170" /></td>
    	</tr>
  	</tbody>
	</table>

	<span class="Estilo1">
	  <font size="4">
		<marquee> Bienvenido al Consejo Comunal Hoja de Agua.
        </marquee>
      </font>
	</span>


	<div id="contenedorMenuPpal">
    <a href="http://localhost/soviet/indice">inicio</a> | <a href="http://localhost/soviet/quienessomos"> soviet </a> | <a href="http://localhost/soviet/consultarentrevista"> banco de voces </a> |
	<a href="http://localhost/soviet/consultardiscurso"> banco de videos </a> | <a href="http://localhost/soviet/registrarsugerenciasquejas"> sugerencias </a></div>

   <div id="contenedorCuerpo">
		<table width="981" id="tablaContenedora" style="height: 317px;">
    		<tr>
      			<td width="21" id="contenedorMenu">
      			<?= render_partial("menu"); ?> 			</td>
   			<td width="954" id="contenedorNegocio"><? content(); ?>
    		<!--*<form id="formNegocio">*--><form name="form1" method="post" action="/soviet/RegistrarProveedor/validar/" enctype="multipart/form-data">
			<p>
			  <div id="encabezadoNegocio" style="width: 798px; height: 35px">&nbsp;ACTUALIZAR PROVEEDOR </div>
			</p>

       			<fieldset  style="width:96%" class="claseRecuadro">
				  <legend>Datos del Proveedor </legend>
					<table style="height: 70px; top: 358px;" class="tablaSencilla2" border="0" width="92%">
					<tbody>
            		<tr>

				      <td width="107"><div align="left">Rif: &nbsp;</div></td>
					  <td width="321" ><font size="-1">
					    <input name="rif"  id="rif "value="<?= $rif ?>" size="12" onKeyup="Validarrif(this.form.rif);" /></font>
				      <input name="Buscar" value="Buscar" type="button" onClick ="blanco(form1);" />

				</td>
					  <td width="127"><div align="right"></div></td>
					  <td width="300"><div align="center"><font face="Arial" size="1"><span style="color: rgb(51, 0, 51)">&nbsp; </span></font>


				      </div></td>

					</tr>

            		<tr>
            		  <td height="38"><div align="left">Nombre: &nbsp;</div></td>
              		  <td class="tablaSencilla"><input name="nombre" id="nombre" size="40" maxlength="40" value="<?= $nombre ?>" onkeyup="NoCaracterEspecial(this.form.nombre)"/></td>
					  <td><div align="left">Tipo de Proveedor:</div></td>
					  <td class="tablaSencilla">

                                <select name="tipoproveedor_id" id="tipoproveedor_id">
                                <option value="0">---Seleccionar Opcion---</option>

                                <? foreach($Tipoproveedor->find() as $inci) { ?>


                                    <option value=<?= $inci->id ?>><?= $inci->tipo ?></option>

                                <? } ?>



                                    </select></td>
					  </tr>
					  <tr>
				   		<td><div align="left">Sitio Web: &nbsp;</div></td>
       		      		<td width="276" class="tablaSencilla"><input value="<?= $sitioweb?>" id="sitioweb" type="text" name="sitioweb" size="60" maxlength="60" onkeyup="ValidarSitio(this.form.sitioweb)" /></td>
					 </tr>

            		<tr>
              		 <td><div align="left">Direcci&oacute;n Fiscal: &nbsp;</div></td>
              		 <td><label><textarea name="textarea"  disabled="disabled" cols="43" ><?= $direccionconcatenada ?></textarea></label></td>
					 <td><input name="AgregarDireccion" value="Agregar Direccion"  type="button"   onClick =" javascript : ventana = open    		 ('http://localhost/soviet/direccion', ' ',
'width=550, height=470, status=no').moveTo (100,80)" /></td>

				</tr>
				</tbody>
          	</table>
		</fieldset>

        <fieldset  style="width:96%" class="claseRecuadro">
					<legend>Datos del Contacto </legend>
					<table class="tablaSencilla2" width="100%" border="0">
            		<tr>
            		  <td width="97" height="25"><div align="left">C&eacute;dula: &nbsp;</div></td>
              		  <td width="302"><select name="tipocedula" id="tipocedula">
                			<option value="V" selected="selected">V</option>
                			<option value="E">E</option>
                    	</select>
						<input value="<?= $cedula ?>" name="cedula" size="12" maxlength="12" onkeyup="Validarnumero(this.form.cedula)"/>


                      </td>
          		  </tr>
				  <tr>
              			<td height="25"><div align="left">Nombre: &nbsp;</div></td>
              			<td class="tablaSencilla"><input value="<?= $contacto?>" name="contacto" size="40" onkeyup="SoloLetras(this.form.contacto)"/></td>
					<td width="157"><div align="right">Cargo del Contacto : &nbsp;</div></td>
           		    <td width="441" class="tablaSencilla"><input value="<?= $cargocont?>" name="cargocont" size="12" maxlength="30" onkeyup="SoloLetras(this.form.cargocont)"/></td>
          		     </tr>
            		<tr>
              		  <td height="25"><div align="left">Tel&eacute;fono: &nbsp;</div></td>
              		  <td class="tablaSencilla"><input value="<?= $codigoarea?>" name="codigoarea" size="4" maxlength="4" onkeyup="Validarnumero(this.form.codigoarea)"/> &nbsp;<input value="<?= $telefonocont?>" name="telefonocont" size="12" maxlength="12" onkeyup="Validarnumero(this.form.telefonocont)"/></td>
					  <td width="157"><div align="right">Correo Electr&oacute;nico: &nbsp;</div></td>
              		  <td width="441" class="tablaSencilla"><input value="<?= $correocont?>" name="correocont" size="40" maxlength="40" />
              		   </td>
					</tr>
            	</table>


</fieldset>


  <div id="pieDePaginaNegocio" class="box">
    <center>
       <input name="iddirecc" type="hidden" value="<?= $iddirecc ?>">
       <input name="residencia" type="hidden" value="<?= $residencia ?>">
       <input name="ubicacion" type="hidden" value="<?= $ubicacion ?>">
       <input name="edifcasa" type="hidden" value="<?= $edifcasa ?>">
       <input name="nroedifcasa" type="hidden" value="<?= $nroedifcasa ?>">
       <input name="nropiso" type="hidden" value="<?= $nropiso ?>">
       <input type="submit" name="Guardar" value="Guardar">
       <input type="submit" name="Eliminar" value="Eliminar">
       <input type="button" name="Cancelar" value="Cancelar" onClick="CancelarProveedor(form1);">
    </center>
  </div>
  </form>
  </tr>
	</table>
	<div id="contenedorPieDePagina">
				<img src="http://localhost/soviet/public/Imagenes/tricolor.gif" width="963" height="15" align="middle"/>
			    <p id="trDireccion"><a href="#">Barquisimeto, Estado Lara</a></p>
			    <p id="trCopyrigth"><a href="#">@CopyRigth -- Todos los derechos Reservados
			  Grupo de Proyecto 3, Promocion 41 de Ingenieros en Informatica, UCLA</a></p>
	  </div>


  </div>
</div>
<script>document.form1.tipoproveedor_id.value=0<?=$valor?>;</script>
<script>document.form1.tipocedula.value="<?=$valorced?>";</script>


</body>
</html>

